"""This is a very simple implementation of event notification.  it's a copy of the way i understand zope3's to work.  i could import theirs directly, but i don't want to use any of their prebuilt events, so i'd really just be importing zope.event.notify, which seems pointless.  so i'll write it here."""

subscribers = []

def notify(event):
    """notify subscribers of an event"""
    for subscriber in subscribers:
       subscriber(event) 
